Set:
In a set, every element must not occur more than once. Besides this, the properties of class
Set
are similar to those of class
Bag
.